package widget.common.utils
{
	import flash.utils.ByteArray;
	
	public class DepthCopy
	{
		public function DepthCopy()
		{
		}
		public static function copy(tagObj:Object):*
		{
			var tempCopyer:ByteArray = new ByteArray();
			tempCopyer.writeObject(tagObj);
			tempCopyer.position = 0;
			return tempCopyer.readObject();
		}
	}
}